package org.fly.service;

import org.fly.bean.Brand;
import org.fly.bean.query.BrandQuery;
import org.fly.bean.common.BusinessException;
import java.util.List;

/**
* Created by autoCode on 2018-05-02 14:52:23.
*/
public interface BrandService {

    List<Brand> list(BrandQuery query);

    long count(BrandQuery query);

    Brand findById(String id);

    void save(Brand bean)  throws BusinessException;

    void delete(String id);

}
